package com.cqut.forum.service;

import java.util.List;
import java.util.Map;


/**
 * 花园service层
 * @author yangxun
 */
public interface GardenService {
	
	/**
	 * 根据动态id获取相应信息
	 * @param articleId 动态Id
	 * @return 返回获取到的数据信息
	 */
	public Map<String, Object> getBallInfo(int articleId);
	
	/**
	 * 获取最新创建的气泡信息,默认为50个
	 * @return
	 */
	public List<Map<String, Object>> getLastBalls(int index,int size);
	
	public List<Map<String, Object>> loadGarden(String userName,String gardenType,String publishTime,
			int index,int size);
	
	public List<Map<String, Object>> loadByCase(int userId,String publishTime,String ballKind,String userRelation,
			int index,int size);
	
}
